<div class="register ta-c">
	<form class="d-b" name="form">
		<div class="from-line p-r">
			<span class="accout d-b f-l"></span>
			<input ng-model="user.phone" validator="phone" class="d-b f-l" type="text" placeholder="输入手机号">
		</div>
		<div class="from-line p-r">
			<span class="password d-b f-l"></span>
			<input ng-model="user.password" validator="password" class="d-b f-l" type="password" placeholder="输入密码">
		</div>
		<div class="from-code p-r">
			<input validator="required" ng-model="user.code" class="f-l d-b" type="text" placeholder="短信验证码">
			<span class="f-r d-b ta-c {{time?'disabled':''}}" ng-click="time?1==1:send();" ng-bind="time?time:'发送短信'"></span>
		</div>
		<button class="login-btn" ui-sref="login">登录</button>
		<button class="register-btn" validation-submit="form" ng-click="submit()">注册</button>
	</form>
</div>